package com.vietnam.power.service;

import java.util.List;

import javax.mail.internet.MimeMessage;

import com.vietnam.power.domain.MessageInfo;

public interface MailService {

	public void sendEmail(MimeMessage mimeMessage, String username, String password);

	public MimeMessage createMimeMessage();
	
	public List<MessageInfo> fetchEmail(String username, String password) throws Exception;
}
